include @topdir@/build/settings

MODULE=conartist

OBJS=	conartist.o \
	caConfig.o \
	caDSO.o \
	caLog.o \
	caGenerator.o \
	caMaps.o \
	caPipeline.o \
	caStore.o \
	caUtil.o

INCLUDES=$(XML_INCLUDES) $(XSLT_INCLUDES)
LDFLAGS=$(APR_LDFLAGS) $(XML_LDFLAGS) $(XSLT_LDFLAGS)
CFLAGS=$(APR_CFLAGS)

all:	lib

lib:  $(OBJS)
	$(MAKE_SOLIB)

test:	lib
	$(CC) -o ca_test ca_test.c $(CFLAGS)  $(INCLUDES) \
	      $(_INCLUDE) $(APR_INCLUDES) \
	      $(CA_LIBS) $(LDFLAGS) $(RPATH)

clean:
	@rm -f *.so *.o
	@rm -f ca_test
